package com.jd.sys.service.impl;

import com.jd.basic.service.impl.BaseServiceImpl;
import com.jd.org.domain.Employee;
import com.jd.sys.domain.DictionaryType;
import com.jd.sys.mapper.DictionaryDetailMapper;
import com.jd.sys.mapper.DictionaryTypeMapper;
import com.jd.sys.service.IDictionaryTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional(readOnly = true,propagation = Propagation.SUPPORTS)
public class DictionaryTypeServiceImpl extends BaseServiceImpl<DictionaryType> implements IDictionaryTypeService {
    @Autowired
    DictionaryTypeMapper mapper;
    @Override
    public List<Employee> findEmpByDeptId(Long id) {
        return null;
    }

    @Override
    public List<DictionaryType> getDictionaryType() {
        return mapper.getDictionaryType();
    }
}
